<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vendas - Pedidos de Venda</title>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
  <b><font color="#000000" size="2" face="Arial, Helvetica, sans-serif"> Modifica&ccedil;&atilde;o</font></b>
  <form action="#" method="post" name="form">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="8">
    </td>
    </tr>

    <tr>
    <td align="left">
    
    
    	<table cellpadding="0" cellspacing="0" width="100%">
        <tr>
        <td width="202" height="25">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        <strong>&nbsp;&nbsp;Nr&nbsp;Pedido</strong> 
        </font>
        </td>
        <td width="1026">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        &nbsp;
        <input name="idproduto" type="text" disabled="disabled" title="Nr Pedido" value="{nr_pedido}"  size="40" />
        </font>
        </td>
        </tr>
         <tr>
        <td height="10" colspan="2"></td>
        </tr>
        <tr>
        <td width="202" height="25">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        <strong>&nbsp;&nbsp;Status do Pagamento</strong> 
        </font>
        </td>
        <td width="1026">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        &nbsp;
        <input name="status" type="text" disabled="disabled" title="Status Pedido" value="{status}"  size="40" />
        </font>
        </td>
        </tr>
        
        
        <tr>
        <td height="10" colspan="2"></td>
        </tr>
       
        <tr>
        <td width="202" height="25">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        <strong>&nbsp;&nbsp;Status&nbsp;&nbsp;</strong> 
        </font>
		</td>
        <td height="25">
        &nbsp;
        <input type="radio" name="soc" id="soc" value="1" {chk1} onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/bola_cinza.png" title="Pedido sem OC"  />

        <input type="radio" name="soc" id="soc" value="2" {chk2}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/bola_amarela.png" title="Pedido com OC n&atilde;o conferida(s)" />

        <input type="radio" name="soc" id="soc" value="3" {chk3}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/bola_verde.png" title="Pedido com OC conferida(s)" />

        <input type="radio" name="soc" id="soc" value="4" {chk4}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/bola_azul.png" title="OC enviada para a f&aacute;brica" />

        <input type="radio" name="soc" id="soc" value="5" {chk5}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/bola_vermelha.png" title="Produto chegou no deposito" />

        <input type="radio" name="soc" id="soc" value="6" {chk6}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/entrega.png" title="Pedido com entrega agendada" />

        <input type="radio" name="soc" id="soc" value="7" {chk7}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/conserto.png" title="Produto em conserto" />

        <input type="radio" name="soc" id="soc" value="8" {chk8}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/devolucao.png" title="Devolu&ccedil;&atilde;o" />

        <input type="radio" name="soc" id="soc" value="9" {chk9}  onclick="$('#campo_status').val(this.value)" />
        <img src="imagens/icones/finalizado.png" title="Pedido finalizado" />
        
        <input name="campo_status" type="hidden" id="campo_status" value="{campo_status}" /></td>
        </tr>
        <tr>
        <td height="10" colspan="2"></td>
        </tr>
        
        
                <tr>
                  <td height="25">&nbsp;<font color="#000000" size="2" face="Arial, Helvetica, sans-serif"><strong> Tipo de Entrega</strong></font></td>
                  <td><font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
                  &nbsp;&nbsp;<input name="tipo_entrega" type="text" disabled="disabled" id="tipo_entrega" title="Tipo da Entrega" value="{tipo_entrega}"  size="40" />
                  <input name="campo_entrega" type="hidden" id="campo_entrega" value="{campo_entrega}" />
                  </font></td>
                </tr>
                <tr>
        <td height="10" colspan="2"></td>
        </tr>
                <tr>
        <td width="202" height="25">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        <strong>&nbsp;&nbsp;Rastreio</strong> 
        </font>
        </td>
        <td width="1026">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        &nbsp;
        <input name="rastreio" type="text" id="rastreio" title="Numero de Rastreio dos Correios" value="{rastreio}"  size="40" />
        </font>
        </td>
        </tr>
        
        
        
        
        
        
        
        <tr>
          <td height="25">&nbsp; </td>
          <td height="25">&nbsp;</td>
        </tr>
        <tr>
        <td width="202" height="25">&nbsp;</td>
        <td height="25">&nbsp;</td>
        </tr>
        <tr>
        <td height="5" colspan="2"></td>
        </tr>
        </table>
    
    </td>
    </tr>
    
    <tr>
    <td align="center" valign="middle" height="8">
    </td>
    </tr>
</table>
</form>
</fieldset>
<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Itens do Pedido</b>
</font>
</legend>
<br />

    <table cellpadding="0" cellspacing="0" width="100%">
	
	<tr>
    <td colspan="2" height="30" class="barra_titulo_consultas">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Descri&ccedil;&atilde;o</b>
    </font>    
    </td>
    <td width="7%" height="24" class="barra_titulo_consultas" align="center">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Qtde.</b>
    </font>    
    </td>
    <td width="13%" height="24" class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Vlr.Unit.</b>
    </font>    
    </td>
    <td width="14%" height="24" class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Desconto</b>
    </font>    
    </td>
    <td width="14%" height="24" class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    <b>Vlr.Total</b> &nbsp; &nbsp;
    </font>    
    </td>
    </tr>

</table>

<div id="itens">
	
</div>

</fieldset>
<br/>



<fieldset>
	<legend><b>Altera&ccedil;&atilde;o</b></legend>
	<table cellpadding="0" cellspacing="0" width="100%">
	<tr>

        <td colspan="2" height="30" class="barra_titulo_consultas">
        <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
        &nbsp; <b>Usu&aacute;rio</b>
        </font>    
        </td>
        
    <td class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Status Antes</b>
    </font>    
    </td>
    <td class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Status Depois</b>
    </font>    
    </td>
    <td  class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; <b>Data Hora</b>
    </font>    
    </td>
     <td  class="barra_titulo_consultas" align="right">
    <font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
    	<b>Observa&ccedil;&otilde;es</b>
        </font>
    </td>
    </tr>

</table>
    
    
    <table cellpadding="0" cellspacing="0" width="98%">
    <!-- START BLOCK : STATUS_USR -->
    <tr style="background-color:{cor};" onMouseOver="javascript:this.style.backgroundColor='#dce3e9'" onMouseOut="javascript:this.style.backgroundColor='{cor}'">
        <td align="left" colspan="2">
        <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
        &nbsp;{usr}
        </font>
        </td>
        <td  align="center" >
        {status_antes} &nbsp;
        </td> 
        <td  align="right" >
        {status_depois} &nbsp;
        </td> 
        <td  align="right" >
        {hora} &nbsp;
        </td> 
        <td align="right">
        	{obs}
        </td>
    </tr>
    <!-- END BLOCK : STATUS_USR -->
    </table>


</fieldset>



<br/>



<fieldset>
  <input type="button" value="Alterar" title="Cadastrar um novo pedido" onclick="altera_status_pedido();" />
&nbsp;
<input type="button" value="Voltar" title="Editar o pedido" onclick="voltar_pagina_pedidos();" />
&nbsp;

</fieldset>
</body>
</html>
